SDK/J Authentication Package ver1.0
RICOH Confidential

jp.co.ricoh.dsdk.scard.framework.event
Class CardEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjp.co.ricoh.dsdk.scard.framework.event.CardEvent
All Implemented Interfaces:
java.io.Serializable

public class CardEvent
extends java.util.EventObject

This is the event class for issuing notification of card events such as insert and remove of a card.

See Also:
Serialized Form

Field Summary
static int INSERTED
           a card was inserted.
static int REMOVED
           a card was removeed.
protected  Slot slot
           the slot.
protected  int type
           the event type.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CardEvent(int type, Slot slot)
           Constructs a new CardEvent.
 
Method Summary
 Slot getSlot()
           Gets the slot.
 int getType()
           Gets the event type.
 java.lang.String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSERTED

public static int INSERTED
a card was inserted.


REMOVED

public static int REMOVED
a card was removeed.


type

protected int type
the event type.

See Also:
INSERTED, REMOVED

slot

protected Slot slot
the slot.

Constructor Detail

CardEvent

public CardEvent(int type,
                 Slot slot)
Constructs a new CardEvent.

Parameters:
type - The event type.
slot - The slot.
Method Detail

getSlot

public Slot getSlot()
Gets the slot.

Returns:
the slot.

getType

public int getType()
Gets the event type.

Returns:
the event type.
See Also:
INSERTED, REMOVED

toString

public java.lang.String toString()

SDK/J Authentication Package ver1.0
RICOH Confidential